@extends('home.layout.user')
@section('user')
<div class="m_right">
        	
            
            <div class="mem_t">基本信息</div>
            <table border="0" class="mon_tab" style="width:870px; margin-bottom:20px;" cellspacing="0" cellpadding="0">
              <tbody>
              <tr>
                <td >商品图片：<span style="color:#555555;"><img src="/{{$goods['pic']}}" alt="" style="width:100px;"> </span></td>
               
              </tr>
              <tr>
                <td >商品名：<span style="color:#555555;">{{$goods['title']}} </span></td>
               
              </tr>
              <tr>
                <td >订单号：<span style="color:#555555;">{{$order['code']}} </span></td>
               
              </tr>
              <tr>
                <td >收件人：<span style="color:#555555;">{{$order['name']}} </span></td>
               
              </tr>
              <tr>
                <td >收件人：<span style="color:#555555;">{{$order['tel']}} </span></td>
               
              </tr>
              <tr>
                <td >收货地址：<span style="color:#555555;">{{$order['address']}} </span></td>
               
              </tr>
              <tr>
                <td >订单状态：<span style="color:#555555;">{{$goods['status']}} </span></td>
               
              </tr>
              <tr>
                <td >发货单号：<span style="color:#555555;">{{$goods['shipments']}} </span></td>
               
              </tr>
              <tr>
                <td >
                @if($goods['status']=='交易完成')
                <span style="color:#555555;"><a href="/user"><button class="buttonedit" >返回</button></a>
                <span style="color:#555555;"><a href="/publish/del?id={{ $goods['id'] }}"><button class="buttondel" >删除</button></a>
                @else
                <span style="color:#555555;"><a href="/shipment?id={{$goods['id']}}"><button class="buttonedit" >@if($goods['status']=='待发货')发货@endif     @if($goods['status']=='已发货')修改@endif </button></a></span></td>
               @endif
              </tr>
              
              
            </tbody></table>
               
            
        </div>


@endsection